import { BaseService } from "./request/service";
import { Service } from "./request/decorator";
import { GetService } from "./service";
import { Router } from "./router";
import Emitter from "./ui/mixins/emitter";

async function bootstrap(options) {
	const { store } = options || {};
	const service = await GetService({ store });

	return { store, service };
}

export { Service, BaseService, Router, Emitter, bootstrap };
